.class public Les/p80;
.super Lcom/estrongs/fs/a;
.source "FtpFileObject.java"


# instance fields
.field private p:Lorg/apache/commons/net/ftp/FTPFile;


# direct methods
.method public constructor <init>(Lorg/apache/commons/net/ftp/FTPFile;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-direct {p0, p2}, Lcom/estrongs/fs/a;-><init>(Ljava/lang/String;)V

    .line 2
    iput-object p1, p0, Les/p80;->p:Lorg/apache/commons/net/ftp/FTPFile;

    .line 3
    invoke-virtual {p1}, Lorg/apache/commons/net/ftp/FTPFile;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1}, Lcom/estrongs/fs/a;->setName(Ljava/lang/String;)V

    if-eqz p3, :cond_0

    const/4 p1, 0x1

    .line 4
    iput-boolean p1, p0, Lcom/estrongs/fs/a;->i:Z

    .line 5
    iput-object p3, p0, Lcom/estrongs/fs/a;->j:Ljava/lang/String;

    :cond_0
    return-void
.end method


# virtual methods
.method public g()Z
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/estrongs/fs/FileSystemException;
        }
    .end annotation

    .line 1
    invoke-static {}, Les/r80;->b()Les/o80;

    move-result-object v0

    invoke-virtual {p0}, Lcom/estrongs/fs/a;->d()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Les/o80;->exists(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method protected j()Z
    .locals 1

    .line 1
    invoke-virtual {p0}, Les/p80;->l()Z

    move-result v0

    return v0
.end method

.method protected k()Z
    .locals 2

    .line 1
    iget-object v0, p0, Les/p80;->p:Lorg/apache/commons/net/ftp/FTPFile;

    const/4 v1, 0x0

    invoke-virtual {v0, v1, v1}, Lorg/apache/commons/net/ftp/FTPFile;->hasPermission(II)Z

    move-result v0

    return v0
.end method

.method protected l()Z
    .locals 3

    .line 1
    iget-object v0, p0, Les/p80;->p:Lorg/apache/commons/net/ftp/FTPFile;

    const/4 v1, 0x0

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Lorg/apache/commons/net/ftp/FTPFile;->hasPermission(II)Z

    move-result v0

    return v0
.end method

.method public lastModified()J
    .locals 2

    .line 1
    iget-object v0, p0, Les/p80;->p:Lorg/apache/commons/net/ftp/FTPFile;

    invoke-virtual {v0}, Lorg/apache/commons/net/ftp/FTPFile;->getTimestamp()Ljava/util/Calendar;

    move-result-object v0

    if-nez v0, :cond_0

    const-wide/16 v0, 0x0

    return-wide v0

    .line 2
    :cond_0
    iget-object v0, p0, Les/p80;->p:Lorg/apache/commons/net/ftp/FTPFile;

    invoke-virtual {v0}, Lorg/apache/commons/net/ftp/FTPFile;->getTimestamp()Ljava/util/Calendar;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/Calendar;->getTimeInMillis()J

    move-result-wide v0

    return-wide v0
.end method

.method public length()J
    .locals 2

    .line 1
    iget-object v0, p0, Les/p80;->p:Lorg/apache/commons/net/ftp/FTPFile;

    invoke-virtual {v0}, Lorg/apache/commons/net/ftp/FTPFile;->getSize()J

    move-result-wide v0

    return-wide v0
.end method

.method protected m()Lcom/estrongs/fs/l;
    .locals 1

    .line 1
    iget-object v0, p0, Les/p80;->p:Lorg/apache/commons/net/ftp/FTPFile;

    invoke-virtual {v0}, Lorg/apache/commons/net/ftp/FTPFile;->isDirectory()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    sget-object v0, Lcom/estrongs/fs/l;->c:Lcom/estrongs/fs/l;

    return-object v0

    .line 3
    :cond_0
    sget-object v0, Lcom/estrongs/fs/l;->d:Lcom/estrongs/fs/l;

    return-object v0
.end method
